package com.ruoyi.user.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.user.domain.UserWithdrawRecord;

/**
 * 提现明细Mapper接口
 * 
 * @author DEREK
 * @date 2023-05-23
 */
public interface UserWithdrawRecordMapper extends BaseMapper<UserWithdrawRecord>
{
    /**
     * 查询提现明细
     * 
     * @param id 提现明细主键
     * @return 提现明细
     */
    public UserWithdrawRecord selectUserWithdrawRecordById(Long id);

    /**
     * 查询提现明细列表
     * 
     * @param userWithdrawRecord 提现明细
     * @return 提现明细集合
     */
    public List<UserWithdrawRecord> selectUserWithdrawRecordList(UserWithdrawRecord userWithdrawRecord);

    /**
     * 新增提现明细
     * 
     * @param userWithdrawRecord 提现明细
     * @return 结果
     */
    public int insertUserWithdrawRecord(UserWithdrawRecord userWithdrawRecord);

    /**
     * 修改提现明细
     * 
     * @param userWithdrawRecord 提现明细
     * @return 结果
     */
    public int updateUserWithdrawRecord(UserWithdrawRecord userWithdrawRecord);

    /**
     * 删除提现明细
     * 
     * @param id 提现明细主键
     * @return 结果
     */
    public int deleteUserWithdrawRecordById(Long id);

    /**
     * 批量删除提现明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUserWithdrawRecordByIds(Long[] ids);
}
